﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000735 RID: 1845
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetMainMissionCustomValueCsReq : IMessage<GetMainMissionCustomValueCsReq>, IMessage, IEquatable<GetMainMissionCustomValueCsReq>, IDeepCloneable<GetMainMissionCustomValueCsReq>, IBufferMessage
	{
		// Token: 0x1700179A RID: 6042
		// (get) Token: 0x060052F6 RID: 21238 RVA: 0x000E0BC9 File Offset: 0x000DEDC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetMainMissionCustomValueCsReq> Parser
		{
			get
			{
				return GetMainMissionCustomValueCsReq._parser;
			}
		}

		// Token: 0x1700179B RID: 6043
		// (get) Token: 0x060052F7 RID: 21239 RVA: 0x000E0BD0 File Offset: 0x000DEDD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetMainMissionCustomValueCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700179C RID: 6044
		// (get) Token: 0x060052F8 RID: 21240 RVA: 0x000E0BE2 File Offset: 0x000DEDE2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetMainMissionCustomValueCsReq.Descriptor;
			}
		}

		// Token: 0x060052F9 RID: 21241 RVA: 0x000E0BE9 File Offset: 0x000DEDE9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMainMissionCustomValueCsReq()
		{
		}

		// Token: 0x060052FA RID: 21242 RVA: 0x000E0BFC File Offset: 0x000DEDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMainMissionCustomValueCsReq(GetMainMissionCustomValueCsReq other) : this()
		{
			this.mainMissionIdList_ = other.mainMissionIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060052FB RID: 21243 RVA: 0x000E0C26 File Offset: 0x000DEE26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetMainMissionCustomValueCsReq Clone()
		{
			return new GetMainMissionCustomValueCsReq(this);
		}

		// Token: 0x1700179D RID: 6045
		// (get) Token: 0x060052FC RID: 21244 RVA: 0x000E0C2E File Offset: 0x000DEE2E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MainMissionIdList
		{
			get
			{
				return this.mainMissionIdList_;
			}
		}

		// Token: 0x060052FD RID: 21245 RVA: 0x000E0C36 File Offset: 0x000DEE36
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetMainMissionCustomValueCsReq);
		}

		// Token: 0x060052FE RID: 21246 RVA: 0x000E0C44 File Offset: 0x000DEE44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetMainMissionCustomValueCsReq other)
		{
			return other != null && (other == this || (this.mainMissionIdList_.Equals(other.mainMissionIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060052FF RID: 21247 RVA: 0x000E0C78 File Offset: 0x000DEE78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.mainMissionIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005300 RID: 21248 RVA: 0x000E0CAC File Offset: 0x000DEEAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005301 RID: 21249 RVA: 0x000E0CB4 File Offset: 0x000DEEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005302 RID: 21250 RVA: 0x000E0CBD File Offset: 0x000DEEBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.mainMissionIdList_.WriteTo(ref output, GetMainMissionCustomValueCsReq._repeated_mainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005303 RID: 21251 RVA: 0x000E0CE4 File Offset: 0x000DEEE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.mainMissionIdList_.CalculateSize(GetMainMissionCustomValueCsReq._repeated_mainMissionIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005304 RID: 21252 RVA: 0x000E0D1D File Offset: 0x000DEF1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetMainMissionCustomValueCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.mainMissionIdList_.Add(other.mainMissionIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005305 RID: 21253 RVA: 0x000E0D4B File Offset: 0x000DEF4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005306 RID: 21254 RVA: 0x000E0D54 File Offset: 0x000DEF54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U && num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.mainMissionIdList_.AddEntriesFrom(ref input, GetMainMissionCustomValueCsReq._repeated_mainMissionIdList_codec);
				}
			}
		}

		// Token: 0x04002076 RID: 8310
		private static readonly MessageParser<GetMainMissionCustomValueCsReq> _parser = new MessageParser<GetMainMissionCustomValueCsReq>(() => new GetMainMissionCustomValueCsReq());

		// Token: 0x04002077 RID: 8311
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002078 RID: 8312
		public const int MainMissionIdListFieldNumber = 7;

		// Token: 0x04002079 RID: 8313
		private static readonly FieldCodec<uint> _repeated_mainMissionIdList_codec = FieldCodec.ForUInt32(58U);

		// Token: 0x0400207A RID: 8314
		private readonly RepeatedField<uint> mainMissionIdList_ = new RepeatedField<uint>();
	}
}
